﻿@namespace BootstrapBlazor.Components
@inherits FilterBase

@if(Items != null)
{
    if (IsHeaderRow)
    {
        <Select Items="@Items" StringComparison="LookupStringComparison" @bind-Value="@Value" OnSelectedItemChanged="_ => OnFilterValueChanged()" IsPopover="true" ShowSearch="IsShowSearch"></Select>
    }
    else
    {
        <Select Items="@Items" StringComparison="LookupStringComparison" @bind-Value="@Value" ShowSearch="IsShowSearch"></Select>
    }
}
